﻿// -----------------------------------------------------------------------
// <copyright file="FileRank.cs" company="Hewlett-Packard">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Ex3.Logic
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Represent a photo rank object as it will be saved in the file
    /// </summary>
    [Serializable]
    public class FileRank
    {
        public string Id { get; set; }

        public int NumberOfStars { get; set; }

        public string Url { get; set; }
        
        public FileRank()
        {
            this.Id = string.Empty;
            this.NumberOfStars = 0;
            this.Url = string.Empty;
        }

        public FileRank(string i_ID, Common.Stars i_Stars, string i_Url)
        {
            this.Id = i_ID;
            this.NumberOfStars = (int)i_Stars;
            this.Url = i_Url;
        }
    }
}
